import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import snake from '@/components/snake/snake'
import flappyBird from '@/components/flappyBird/flappyBird'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'Login',
    component: Login
  }, {
    path: '/snake',
    name: 'snake',
    component: snake
  }, {
    path: '/flappyBird',
    name: 'flappyBird',
    component: flappyBird
  }]
})
